#include<stdio.h>
#include<stdlib.h>
#include<filesystem>
using namespace std;
typedef struct student{
    char name[10];
    bool gender;
    int score;
    struct student *next;
}*stu;
void save(int n){
    FILE *fw=fopen("./output.txt","wb");
    if(fw==NULL){
        printf("error!");
        exit(1);
    }
    for(int i=0;i<n;i++){
        stu node=(stu)malloc(sizeof(struct student));
        scanf("%s %d %d",node->name,&node->gender,&node->score);
        fprintf(fw,"%s\t%d\t%d\n",node->name,node->gender,node->score);
    }
    fclose(fw);
}
int main(){
    save(2);
    return 0;
}